package com.grade.system.entity;

import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class Student {

    private int id;
    private String name;
    private int sex;
    private int age;
    private String phone;
    private String native_place;

    public Student(String name, int sex, int age, String phone, String native_place) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.phone = phone;
        this.native_place = native_place;
    }
}
